Release 10.1A: OpenEdge Data Management:
DataServer for ODBC
PROC–STATUS function
Returns the return status from an ODBC stored procedure. The return status is an integer value that indicates whether a stored procedure failed and why it failed. See your ODBC data-source documentation for descriptions of the possible values for the return status:
Syntax
Example
This procedure runs the stored procedure pcust and writes the results of the stored procedure into the Progress 4GL buffer,
proc–text–buffer. TheCLOSESTORED–PROCEDUREstatement then retrieves the output parameters. The return status is written to the variable stat and is displayed:
Note
For descriptions of the possible values for the return status of a non-Progress 4GL stored procedure, see your data-source documentation.
See also
CLOSE STORED–PROCEDURE statement, PROC–HANDLE function, RUN STORED–PROCEDURE statement
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |